<template>
  <div>
    <van-button type="primary" @click="launchPage1()">Test1 Page</van-button>
    <van-button type="primary" style="margin-left: 1rem;" @click="launchPage2()">Test2 Page</van-button>
  </div>
</template>

<script lang="ts">
import { Button } from 'vant';
export default {
  components: {
    [Button.name]: Button,
  },
  name: "Home",
  created() {},
  data() {
    return {};
  },
  props: {},
  methods: {
    launchPage1() {
      this.$router.push({path: 'Test1'})
    },
    launchPage2() {
      this.$router.push({path: 'Test2'})
    }
  },
};
</script>

<style lang="scss" scoped></style>